class MouseHandler
 	def initialize(presen)
 	  @presen = presen
  end
  
	def mouseClicked event
    @presen.change_color(:WHITE)
    @presen.do_extention
  end
  
	def mousePressed event
	  @presen.next_page do
      @presen.change_color(:DARK_GRAY)
    end
  end
  
  def mouseReleased event
    @presen.change_color(:GRAY)
  end
  
  def mouseEntered event
	 @presen.large
  end
  
  def mouseExited event
 	 @presen.small
  end
end
